﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StudentManagerApplication.Model
{
    class Profession
    {
        public Profession()
        {

        }

        public Profession(int _id, string _professionname, List<Grade> _grades)
        {
            Id = _id;
            ProfessionName = _professionname;
            Grades = _grades;
        }

        private int id;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        private string professionname;

        public string ProfessionName
        {
            get { return professionname; }
            set { professionname = value; }
        }

        private List<Grade> grades;

        public List<Grade> Grades
        {
            get { return grades; }
            set { grades = value; }
        }
    }
}
